negotiator.boaframework
Class OutcomeTuple
java.lang.Object
negotiator.boaframework.OutcomeTuple
public class OutcomeTuple
- extends java.lang.Object
This class is a container which holds the necessary information so that a particular NegotiationOutcome
of the multi-acceptance criteria (MAC) can be reconstructed given a full negotiation outcome.
The MAC technique runs multiple negotiation outcomes in parallel during a single negotiation. The negotiation
ends when the deadline has been reached, or when all acceptance criteria accepted. Normally, a single match
results in a single negotiation outcome. However, in this case there are multiple acceptance criteria each
resulting in a subset of the full negotiation trace. This class aids in generating this new outcome.
- Author:
- Alex Dirkwager
|
Constructor Summary |
OutcomeTuple(Bid lastBid,
java.lang.String name,
double time,
int agentASize,
int agentBSize,
java.lang.String logMsg,
java.lang.String acceptedBy)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OutcomeTuple
public OutcomeTuple(Bid lastBid,
java.lang.String name,
double time,
int agentASize,
int agentBSize,
java.lang.String logMsg,
java.lang.String acceptedBy)
getAcceptedBy
public java.lang.String getAcceptedBy()
setAcceptedBy
public void setAcceptedBy(java.lang.String acceptedBy)
getAgentASize
public int getAgentASize()
setAgentASize
public void setAgentASize(int agentASize)
getAgentBSize
public int getAgentBSize()
setAgentBSize
public void setAgentBSize(int agentBSize)
getLastBid
public Bid getLastBid()
setLastBid
public void setLastBid(Bid lastBid)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getTime
public double getTime()
setTime
public void setTime(double time)
getLogMsgType
public java.lang.String getLogMsgType()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object